﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FAccountEdit.aspx.cs" Inherits="Gmis.Web.Manage.Affairs.FAccountEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <div class="pageContent">
        <form method="post" action="Affairs/FAccountHandler.ashx" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
        <div class="pageFormContent" layoutH="56">

            <input type="hidden" name="txt_sId" value="<%=sId %>" />
            <input type="hidden" name="action" value="<%=action %>" />    

                <p>
                    <label>项目类型</label>
                     <select name="cbx_sType" class="required combox">                
                       <%= GetTypeData(model.sType)%>     
                    </select>                             
                </p>
                <p>
                    <label>项目</label><input type="text" name="txt_sExpenses" value="<%=model.sItem %>" class="required" />
                </p>
                
                <p>
                    <label>金额</label><input type="text" name="txt_cAmount" class="number" value="<%= model.cAmount%>"/>
                </p>

                <p>
                    <label>经手人</label><input type="text" name="txt_sOperator" class="required" value="<%= model.sOperator%>"/>
                </p>

                <p>
                    <label>日期</label><input type="text" name="txt_dCreateDate" class="required date" yearstart="-80" yearend="5" value="<%= model.dCreateDate.ToString("yyyy-MM-dd") %>"/><a class="inputDateButton" href="javascript:;">选择</a>
                </p>

                <dl class="nowrap">
                    <dt>备注</dt>
                    <dd><input type="text" name="txt_sComment" size="95" value="<%= model.sComment%>"/></dd>
                </dl>
         </div>      
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent"><button type="submit">提交</button></div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent"><button type="button" class="close">关闭</button></div>
                    </div>
                </li>
            </ul>
        </div>
        </form>
    </div>
</body>
</html>
